package cn.gjxblog.service;

import cn.gjxblog.common.model.PageCondition;
import cn.gjxblog.model.entity.UserMsg;
import com.github.pagehelper.PageInfo;

/**
 * @author gjx
 * @version v1.0
 * @Description
 * @date 2019/4/26 10:55
 */
public interface UserMsgService {
    void addUserMsg(UserMsg userMsg);

    PageInfo<UserMsg> queryUserMsgByUserId(String userId, PageCondition pageCondition);
    PageInfo<UserMsg> queryUserMsgByAgentId(String agentId, PageCondition pageCondition);
}
